package com.ujoku.dao.impl;

import com.labillusion.core.database.base.mybatis.dao.impl.BaseDaoImpl;
import com.ujoku.dao.MemberBalanceLogDao;
import com.ujoku.domain.MemberBalanceLog;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by greg.chen on 14-10-22.
 */
@Repository
public class MemberBalanceLogDaoImpl extends BaseDaoImpl<MemberBalanceLog> implements MemberBalanceLogDao<MemberBalanceLog> {

    @Override
    public List<MemberBalanceLog> selectListByMember(Map<String, Object> query){
        return sqlSessionTemplate.selectList(getSqlName("selectByMember"), query);
    }
}
